package com.example.ycdyus.dailyfruit.db;

import com.example.ycdyus.dailyfruit.bean.Items;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.Table;

/**
 * Created by ycdyus on 2015/10/25.
 */
@Table(name = "TB_GOOD")
public class Good {
    @Id
    private int id;
    @Column(column = "sku_id")
    private int sku_id;
    @Column(column = "num")
    private int num;
    @Column(column = "product_id")
    private String product_id;
    @Column(column = "qty")
    private int qty;
    @Column(column = "product_no")
    private String product_no;
    @Column(column = "photos")
    private String photos;
    @Column(column = "item_type")
    private String item_type;
    @Column(column = "name")
    private String name;
    @Column(column = "unit")
    private String unit;
    @Column(column = "spec")
    private String spec;
    @Column(column = "photo")
    private Items.PhotoEntity photo;
    @Column(column = "weight")
    private String weight;
    @Column(column = "qty_limit")
    private String qty_limit;
    @Column(column = "price")
    private String price;
    @Column(column = "sale_price")
    private String sale_price;
    @Column(column = "pmt_price")
    private int pmt_price;
    @Column(column = "amount")
    private int amount;
    @Column(column = "status")
    private String status;
    @Column(column = "pmt_price_total")
    private int pmt_price_total;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Column(column = "goods_cost")



    private String goods_cost;

    public String getPhotos() {
        return photos;
    }

    public void setPhotos(String photos) {
        this.photos = photos;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getGoods_cost() {
        return goods_cost;
    }

    public void setGoods_cost(String goods_cost) {
        this.goods_cost = goods_cost;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getItem_type() {
        return item_type;
    }

    public void setItem_type(String item_type) {
        this.item_type = item_type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Items.PhotoEntity getPhoto() {
        return photo;
    }

    public void setPhoto(Items.PhotoEntity photo) {
        this.photo = photo;
    }

    public int getPmt_price() {
        return pmt_price;
    }

    public void setPmt_price(int pmt_price) {
        this.pmt_price = pmt_price;
    }

    public int getPmt_price_total() {
        return pmt_price_total;
    }

    public void setPmt_price_total(int pmt_price_total) {
        this.pmt_price_total = pmt_price_total;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public String getProduct_no() {
        return product_no;
    }

    public void setProduct_no(String product_no) {
        this.product_no = product_no;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public String getQty_limit() {
        return qty_limit;
    }

    public void setQty_limit(String qty_limit) {
        this.qty_limit = qty_limit;
    }

    public String getSale_price() {
        return sale_price;
    }

    public void setSale_price(String sale_price) {
        this.sale_price = sale_price;
    }

    public int getSku_id() {
        return sku_id;
    }

    public void setSku_id(int sku_id) {
        this.sku_id = sku_id;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }
}
